package com.ciallo.stock.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author 42088
 * @version 1.0
 * @description: 定义http客户端工具bean
 * @date 2025/2/28 9:12
 */
@Configuration
public class HttpClientConfig {

    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
